package com.zxc.common.enums;

/**
 * 登录和注册的枚举
 */
public enum LoginAndRegisterEnum {
    REGISTER_PASS_INCONSISTENT(1,"密码不一致"),
    REGISTER_SUCCESS(2,"注册成功"),
    REGISTER_FAIL(3,"注册失败"),
    REGISTERED(4,"已注册"),
    FAIL(400,"请求失败");
    private Integer key;
    private String value;

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    LoginAndRegisterEnum(Integer key, String value) {
        this.key = key;
        this.value = value;
    }
}
